package minefak3r;

/**
 *
 * @author Chriss
 */
public class Player {

    private static double x;
    private static double y;
    private static double z;
    private static double stance;
    private static float rotX;
    private static float rotY;
    private static int id;
    private static boolean isAlive = true;
    private static boolean isDrunk = false;

    public static void changeX(double newX) {
        x = newX;
    }

    public static void changeY(double newY) {
        y = newY;
    }

    public static void changeZ(double newZ) {
        z = newZ;
    }

    public static void changeStance(double newStance) {
        stance = newStance;
    }
    public static void changeRotationX(float newRotX) {
        rotX = newRotX;
    }

    public static void changeRotationY(float newRotY) {
        rotY = newRotY;
    }

    public static void changeID(int newID) {
        id = newID;
    }

    public static void changeState(boolean state) {
        isAlive = state;
    }
    public static void changeDrunk(boolean state){
        isDrunk = state;
    }
    public static double getX() {
        return x;
    }

    public static double getY() {
        return y;
    }

    public static double getZ() {
        return z;
    }

    public static double getStance() {
        return stance;
    }
    public static float getRotationX() {
        return rotX;
    }

    public static float getRotationY() {
        return rotY;
    }

    public static int getID() {
        return id;
    }

    public static boolean getState() {
        return isAlive;
    }
    public static boolean getDrunk(){
        return isDrunk;
    }
}
